package sk.funix.userstory.dao;

import java.util.List;

import sk.funix.userstory.domain.Story;
import sk.funix.userstory.domain.User;
import sk.funix.userstory.dao.GenericDAO;


/**
 * @author Nicolas Milliard
 *
 */
public interface StoryDAO extends GenericDAO<Story, Long> {
	
	public List<Story> findEntriesStoriesByUser(User user, int firstResult, int maxResults);

	public List<Story> findAllStoriesByUser(User user);
	
	public long countAllByUser(User user);

}
